﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Default3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link rel="Stylesheet" href="Styles/Admin.css" type="text/css" />
    <title>Login Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Login runat="server" ID="Login" RenderOuterTable="False" DestinationPageUrl="Administration/Navigation/index.aspx">
        <LayoutTemplate>
        <fieldset id="loginArea">
            <legend>Login</legend>
            <asp:TextBox 
                ID="UserName" 
                runat="server" 
                ToolTip="Username" 
                placeholder="username" >
            </asp:TextBox>
            <asp:requiredfieldvalidator 
                id="UserNameRequired" 
                runat="server" 
                ControlToValidate="UserName"  
                ErrorMessage="UserName">
            </asp:requiredfieldvalidator>
            <asp:TextBox 
                ID="Password" 
                runat="server" 
                ToolTip="Password" 
                placeholder="password" 
                TextMode="Password">
            </asp:TextBox>
            <asp:requiredfieldvalidator 
                id="PasswordRequired" 
                runat="server" 
                ControlToValidate="Password"  
                ErrorMessage="Password">
            </asp:requiredfieldvalidator>
            <asp:Button 
                ID="Login" 
                CommandName="Login" 
                Text="Submit" 
                runat="server" />
            <asp:Literal 
                id="FailureText" 
                runat="server">
            </asp:Literal>
            <asp:ValidationSummary 
                EnableClientScript="true" 
                DisplayMode="BulletList" 
                HeaderText="Please fill out the following fields: " 
                runat="server" 
                ID="Validation" />
        </fieldset>
        </LayoutTemplate>
    </asp:Login>
    </div>
    </form>
</body>
</html>